package com.coolingme.springcloud.dubbo.springclouddubbosampleprovider.service;

import com.coolingme.springcloud.dubbo.ISayHelloService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author wangyue
 * @date 2022/09/30 18:46
 */
// dubbo中的@service标签
@Service(cluster = "failover", retries = 3)
public class SayHelloServiceImpl implements ISayHelloService {

    @Override
    public String sayHello(String name) {
        return "Hello " + name;
    }
}
